//
//  PhoneManager.h
//  EasyToo
//
//  Created by YuanDee on 13-9-9.
//
//

#import <Foundation/Foundation.h>
#import "ServerCommunicationDelegate.h"
@protocol PhoneManagerDelegate <NSObject>
@optional

- (void)onCheckPhoneChargeInfoFinish:(BOOL)isSuccess
                            cardArea:(NSString*)area
                            cardType:(NSString*)type
                            cardInfo:(NSMutableArray*)info;

- (void)onChargePhoneFinish:(BOOL)isSuccess
                        tn:(NSString*)tn;

@end


@interface PhoneManager : NSObject <ServerCommunicationDelegate>

@property (nonatomic, assign) id<PhoneManagerDelegate> delegate;

+ (PhoneManager*)shareManager;

- (void)checkPhoneCard:(NSString*)phoneNum;

-(void)chargePhone:(NSString*)phoneNum cardId:(NSString*)cardId cardPrice:(NSString*)cardPrice;

@end
